package com.mine.modules.vm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 场景菜单
 * </p>
 *
 * @author author
 * @since 2024-10-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vm_permission_layer")
@ApiModel(value="VmPermissionLayer对象", description="场景菜单")
public class VmPermissionLayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "菜单id")
    private String menuId;

    @ApiModelProperty(value = "图层id")
    private String layerId;

    public VmPermissionLayer() {
    }

    public VmPermissionLayer(String menuId, String layerId) {
        this.menuId = menuId;
        this.layerId = layerId;
    }
}
